GXConvertPrintRecord
You can use theGXConvertPrintRecord
function to translate a print record into a job object.
void GXConvertPrintRecord (gxJob aJob, THPrint aPrint);
aJob
- A reference to the job object to receive the converted data.
aPrint
- The print record to be converted.
DESCRIPTION
QuickDraw GX copies contents of the specified print record into the specified job object. Before you call theGXConvertPrintRecord
function, you must first allocate space for the job object using theGXNewJob
function. QuickDraw GX attempts to preserve as much print record information as possible.In addition to converting the print record, you must also translate QuickDraw data by calling the QuickDraw GX Translator functions,
GXInstallQDTranslator
andGXRemoveQDTranslator
, or by calling theGXConvertPICTToShape
function.RESULT CODES
gxSegmentLoadFailedErr A required code segment could not be found, or there was not enough memory to load it. SEE ALSO
Listing 2-18 on page 2-45 shows how to use theGXConvertPrintRecord
function to convert a print record into a job object.The
GXNewJob
function is described on page 2-54.The QuickDraw GX Translator functions,
GXInstallQDTranslator
andGXRemoveQDTranslator
, are discussed in the environment chapter of Inside Macintosh: QuickDraw GX Environment and Utilities.For information about the
GXConvertPICTToShape
function, see the environment chapter of Inside Macintosh: QuickDraw GX Environment and Utilities.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help